//
//  EDSVideoPlayer.m
//  DrivieSchoolStudents
//
//  Created by TangBin on 2019/5/22.
//  Copyright © 2019 班文政. All rights reserved.
//

#import "EDSVideoPlayer.h"
#import <AVFoundation/AVFoundation.h>

@interface EDSVideoPlayer ()

@property (nonatomic, strong) AVPlayer *player;//播放器对象

@end

@implementation EDSVideoPlayer

- (instancetype)initWithFrame:(CGRect)frame url:(NSString *)url
{
    self.videoPath = url;
    return [super initWithFrame:frame];
}

- (void)initWithSubView
{
    [super initWithSubView];
    
//    NSURL *url = [NSURL fileURLWithPath:];
    //设置播放的项目
//    AVPlayerItem *item = [[AVPlayerItem alloc] initWithURL:url];

    
//    _player = [AVPlayer alloc] initWithPlayerItem:<#(nullable AVPlayerItem *)#>
    
}

@end
